package se.webbzon.boltzmann.object.cinema;

import se.webbzon.oschi01.worldarea.WorldArea;
import se.webbzon.oschi01.worldobject.WorldObject;

public abstract class AbstractCinemaTerminator extends WorldObject {
	
	// The world to return to after the ending of the cinema
	private final WorldArea reality;

	/*============================================================
	Constructors
	============================================================*/
	
	public AbstractCinemaTerminator(WorldArea reality) {
		super(0);
		this.reality = reality;
	}
	
	/*============================================================
	Public Methods
	============================================================*/
	
	/** This method should be called when the cinema is about to terminate. **/
	public abstract void terminate();
	
	/** Returns the "real" world of this cinema terminator. **/
	public WorldArea getReality() {
		return reality;
	}

}
